package com.library.common.enums;

import lombok.Getter;

/**
 * @ClassName: BookShelfStatus
 * @Description: 书架状态
 * @Author: hb
 * @Date: 2024/9/27
 */
@Getter
public enum EzdReaderOptions {
    /**
     * 只查录入
     */
    INPUT("0", "只查录入"),

    /**
     * 详情数据
     */
    INFO("1", "详情数据"),

    ;

    private final String code;
    private final String info;

    EzdReaderOptions(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public boolean equals(String source) {
        return this.getCode().equals(source);
    }
    
}
